﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title - 太原市建筑工程安全监督管理站特种设备管理系统</title>
    <link href="@Url.Content("~/Content/newstyle.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/Pager.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/ui-lightness/jquery-ui-1.8.23.custom.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.8.0.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.23.custom.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/all.js")" type="text/javascript"></script>
    @RenderSection("CSS", false)
    @RenderSection("JS", false)
</head>
<body>
    <div id="Banner">
        <div id="DvTime">
            @Html.Raw(DateTime.Now.ToString("yyyy年MM月dd日"))</div>
        <div class="ClearBoth">
        </div>
        <div id="DvUserInfo">
            <img src="/Content/Images/RealNameIcon.png" alt="" />用户名 @Html.ActionLink(HttpContext.Current.Items["RealName"].ToString(), "ChangePassWord", "User", new { id = HttpContext.Current.Items["UserId"] }, null)
            <img src="/Content/Images/LogoutIcon.png" alt="" />@Html.ActionLink("退出登陆", "Logout", "Home")
        </div>
        <div id="Nav">
            @Html.Partial("_Nav")</div>
    </div>
    <div class="ClearBoth">
    </div>
    <div class="Main">
        <div class="LeftMenu">
            @Html.Partial("~/Views/Shared/_LeftMenu.cshtml")
        </div>
        <div class="Body">
            <div class="BodyNav">
                <img src="/Content/Images/BodyNavHome.png" alt="首页" />
                当前位置：@Html.ActionLink("首页", "Main", "Home")
                @RenderSection("BodyNav", true)
            </div>
            @if (TempData["Error"] != null)
            {
                <div class="MsgError">
                    @TempData["Error"]
                </div>
            }
            @if (TempData["Success"] != null)
            {
                <div class="MsgSuccess">
                    @TempData["Success"]
                </div>
            }
            @RenderBody()
        </div>
        <div class="ClearBoth">
        </div>
    </div>
    <div class="ClearBoth">
    </div>
    <div id="Footer">
        <div class="FooterLeft">
            登陆用户：@HttpContext.Current.Items["RealName"]
            登陆IP：@HttpContext.Current.Items["IP"]
        </div>
        <div class="FooterRight">
            技术支持：山西三叶虫信息技术开发有限公司
        </div>
    </div>
</body>
</html>
